package com.lanyun.pojo;

public class Stock {
    private  Integer stock_id;
    private  Warehouse hous;
    private  Product product;
    private  Integer amount;
    private  Integer warehouse_id;
    private  Integer product_id;

    public Stock() {
    }

    public Stock(Integer stock_id, Warehouse hous, Product product, Integer amount) {
        this.stock_id = stock_id;
        this.hous = hous;
        this.product = product;
        this.amount = amount;
    }

    public Integer getWarehouse_id() {
        return warehouse_id;
    }

    public void setWarehouse_id(Integer warehouse_id) {
        this.warehouse_id = warehouse_id;
    }

    public Integer getProduct_id() {
        return product_id;
    }

    public void setProduct_id(Integer product_id) {
        this.product_id = product_id;
    }

    public Integer getStock_id() {
        return stock_id;
    }

    public void setStock_id(Integer stock_id) {
        this.stock_id = stock_id;
    }

    public Warehouse getHous() {
        return hous;
    }

    public void setHous(Warehouse hous) {
        this.hous = hous;
    }

    public Product getProduct() {
        return product;
    }

    public void setProduct(Product product) {
        this.product = product;
    }

    public Integer getAmount() {
        return amount;
    }

    public void setAmount(Integer amount) {
        this.amount = amount;
    }


}
